//
//  UIColor+Customer.h
//  MortgageHelper
//
//  Created by fly Mac on 16/7/11.
//  Copyright © 2016年 zhangxiang. All rights reserved.
//


#import <UIKit/UIKit.h>

#define RGB(r, g, b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0]
#define THEME_COLOR                 [self add_colorWithRGBHexString:@"fdd76b"]

#define HexColor(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

@interface UIColor (Customer)

+ (UIColor *)add_colorWithRGBHexString:(NSString*)rgbHexString;

+ (UIImage *)createImageWithColor:(UIColor *)color;

+ (UIColor *)themeColor;


// 提示性文字
+ (UIColor *)noticeTextColor;

// 默认状态文字
+ (UIColor *)defaultTextColor;

// 标题、正文等重要文字
+ (UIColor *)titleColor;

// 黄色

+ (UIColor *)yellowbgColor;

// 蒙版颜色
+ (UIColor *)coverColor;


// 灰色背景
+ (UIColor *)grayBackgroundColor;


// 二级内衬背景色
+ (UIColor *)secondBackgroundColor;

// 渐变色背景
+ (void)setgradientlayerStartPoint:(CGPoint )startPoint startRGBHexString:(NSString *)startRGBHexString andEndPoint:(CGPoint )endPoint endRGBHexString:(NSString *)endRGBHexString inView:(UIView *)View;

@end
